<?php


namespace app\index\controller;
use think\App;

class Login extends Base
{
    public function __construct(App $app = null)
    {
        parent::__construct($app);
    }

    public function index()
    {
        $data = $this->user;
        $this->result($data, '1', '登录成功', 'json');
    }

}